<?php /* Smarty version Smarty-3.0.7, created on 2014-04-30 15:58:19
         compiled from "E:/runtime/lab/tryPHP/app_x001/view\index.html" */ ?>
<?php /*%%SmartyHeaderCode:283985360ad1b94ff84-17118148%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c43c4e4e5b191a2bb9bf7654427fca0cc1cc3dc1' => 
    array (
      0 => 'E:/runtime/lab/tryPHP/app_x001/view\\index.html',
      1 => 1398824538,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '283985360ad1b94ff84-17118148',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<script type="text/javascript" src="<?php echo @BUILD_PATH;?>
/public/jquery/jquery.js"></script>
<img style="display:none;" src="./app_x001/view/images/x.jpg" /><br/>

<a href='<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->GenerateURI("x001","mode-exec");?>
' target="_self">mo模式</a>
<a href='<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->GenerateURI("x001","class");?>
' target="_self">demo样例1</a>
<a href='<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->GenerateURI("x001","class:add");?>
' target="_self">demo样例2</a>


<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('data')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
?>
<?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['id'], null, null);?>
<div><?php echo $_smarty_tpl->tpl_vars['item']->value['title'];?>
:<?php echo $_smarty_tpl->smarty->registered_objects['Route'][0]->GenerateURI("x001","news:list","id:".($_smarty_tpl->getVariable('id')->value),"class:".($_smarty_tpl->getVariable('classId')->value));?>
</div>
<?php }} ?>

<?php echo $_smarty_tpl->getVariable('var')->value;?>
